import React, { memo } from "react";
import { Button, ButtonProps } from "antd";
import { FC } from "react";
import { css } from "styled-components";

type HdbButtonProps = ButtonProps;

const HdbButton: FC<HdbButtonProps> = ({ type = 'link', ...props }) => {
  // eslint-disable-next-line @typescript-eslint/no-use-before-define
  return <Button css={HdbButtonCSS} type={type} {...props}></Button>
}


const HdbButtonCSS = css`
  font-size: 24px;
`;

export default memo(HdbButton);
